<script setup>

</script>

<template>
  <router-link v-bind:to="{name: 'home'}">Home</router-link>
  &nbsp;
  <router-link v-bind:to="{name: 'user'}">Users</router-link>
  &nbsp;
  <router-link v-bind:to="{name: 'article', params:{id:1} }">文章1</router-link>
  &nbsp;
  <router-link v-bind:to="{name: 'article', params:{id:2} }">文章2</router-link>

  <hr>

  <router-view></router-view>
</template>

<style scoped>

</style>